
import APIFunction from './APIFunction';
const api = {
    queryDataList: 'POST /sys_role/querylist',
    sysRoleAdd: 'POST /sys_role/add',
    sysRoleEdit: 'POST /sys_role/edit',
    sysRoleDel: 'POST /sys_role/delete',
    querySysRoleById: 'POST /sys_role/querybyid',
    queryMenuByRoleId: 'POST /sys_role/querymenubyroleid',
    setRoleMenu: 'POST /sys_role/setrolemenu',
    queryFunctionByRoleId: 'POST /sys_role/queryfunctionbyroleid',
    setRoleFunction: 'POST /sys_role/setrolefunction'
}
const API = APIFunction(api);

export default API;